package com.lily.aidouzixun.message;

/**
 * 消息类型
 */
public class MessageType {
    /**
     * 消息类型的基数
     */
    private static final int BASE_MSG = 0xff0000;

    /**
     * 请求数据
     */
    public static final int REQUIRE_DATA = BASE_MSG + 1;

    /**
     * 请求数据完成
     */
    public static final int REQUIRE_DATA_FINISHED = BASE_MSG + 2;

    /**
     * 显示对话框
     */
    public static final int SHOW_DIALOG = BASE_MSG + 3;

    /**
     * 关闭对话框
     */
    public static final int CLOSE_DIALOG = BASE_MSG + 4;
    /**
     * 倒计时
     */
    public static final int UPDATE_DOWNTIME = BASE_MSG + 5;
    /**
     * 重新发送
     */
    public static final int RESEND = BASE_MSG + 6;
    /**
     * 短信验证
     */
    public static final int SMS_VALIDATE = BASE_MSG + 7;
    /**
     * 物理回退键
     */
    public static final int ON_KEY_DOWN = BASE_MSG + 8;

    /**
     * 下拉刷新
     */
    public static final int PULL_REFRESH = BASE_MSG + 9;
    /**
     * 上拉加载更多
     */
    public static final int PUSH_MOREDATA = BASE_MSG + 10;
    /**
     * QQ登录成功
     */
    public static final int QQ_LOGIN_SUCCESS = BASE_MSG + 11;
    /**
     * 登录状态改变
     */
    public static final int LOGIN_STATUS_CHANGED = BASE_MSG + 12;
    /**
     * 保存头像成功
     */
    public static final int SAVE_AVATAR_FINISHED = BASE_MSG + 13;
    /**
     * 删除动态
     */
    public static final int DELETE_DISCUSS = BASE_MSG + 14;
    /**
     * 跳转到登录页面
     */
    public static final int GOTO_LOGIN = BASE_MSG + 15;
    /**
     * 分享
     */
    public static final int SHARE = BASE_MSG + 16;

    /**
     * 取消请求数据任务
     */
    public static final int REQUIRE_CANCEL = BASE_MSG + 17;
    /**
     * 友盟QQ登录成功
     */
    public static final int UMENG_QQ_LOGIN_SUCCESS = BASE_MSG + 18;
}
